<?php
# 事件定义文件
return [
    'bind' => [
    ],

    'listen' => [
        'AppInit' => [],
        'HttpRun' => [],
        'HttpEnd' => [],
        'LogLevel' => [],
        'LogWrite' => [

        ],

        'property.login' => [\app\listener\property\LoginSuccess::class],# 登录事件
        'property.logout' => [\app\listener\property\LogoutSuccess::class],# 退出事件
    ],

    'subscribe' => [
        #订阅账单事件
        \app\subscribe\bill\BillSubscribe::class,
        #订阅房间事件
        \app\subscribe\room\RoomSubscribe::class,
        #订阅合同事件
        \app\subscribe\contract\ContractSubscribe::class,
        #订阅电表事件
        \app\subscribe\energy\EnergyMeterSubscribe::class,
        #订阅房源事件
        \app\subscribe\resource\ResourceSubscribe::class,
        #订阅物业事件
        \app\subscribe\property\PropertySubscribe::class,
    ],
];
